QT          += core gui widgets
TEMPLATE    = app
TARGET      = GtsmlPlayer
DESTDIR     = $$PWD/bin
CONFIG      += console c++11
DEFINES     += QT_DEPRECATED_WARNINGS

SOURCES     += \
            main.cpp \
            mainwindow.cpp \
            playthread.cpp \
            xslider.cpp

HEADERS     += \
            mainwindow.h \
            playthread.h \
            xslider.h

FORMS       += \
            mainwindow.ui

#INCLUDEPATH += $$PWD/include

#LIBS        += -L$$PWD/lib -lavcodec -lavdevice -lavfilter -lavformat -lavutil -lpostproc -lswresample -lswscale -lSDL2 -lSDL2main
#头文件路径
INCLUDEPATH += $$PWD/3rdlib/ffmpeg-4.4-full_build-shared/include
INCLUDEPATH += $$PWD/3rdlib/SDL2/include

#引入库文件
LIBS += -L$$PWD/3rdlib/ffmpeg-4.4-full_build-shared/lib \
        -lavcodec -lavdevice -lavfilter -lavformat -lavutil \
        -lpostproc -lswresample -lswscale
LIBS += -L$$PWD/3rdlib/SDL2/lib -lSDL2


RESOURCES   += \
            res.qrc
